import{d as l,b as u,o as d,bL as s,aO as m}from"./CtbHscGXagutd.js";const o=["data-test-tab"],f=l({__name:"tw-tab",props:{modelValue:{},className:{default:"tw-tab"},value:{default:""},defaultValue:{}},emits:["update:modelValue"],setup(e){return(a,t)=>(d(),u("div",s(a.$attrs,{class:[e.className,(e.modelValue?e.modelValue===e.value:e.defaultValue===e.value)&&"active"],"data-test-tab":e.value,onClick:t[0]||(t[0]=n=>a.$emit("update:modelValue",e.value))}),[m(a.$slots,"default")],16,o))}});export{f as _};